package com.authine.cloudpivot.ext.dto.system;

import com.authine.mvp.app.launcher.domain.SelectorFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName TagScopeDto
 * @Description: 标签管理范围
 * @Author fj
 * @Date 2021/10/16
 * @Version V1.0
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "TagScopeDto")
public class TagScopeDto {
    @Schema(description = "标签id")
    private String id;
    @Schema(description = "归属组织id")
    private List<SelectorFormat> organization_id;
    @Schema(description = "标签组名称")
    private String group_name;
    @Schema(description = "标签组id")
    private String group_id;
    @Schema(description = "标签名称")
    private String tag_name;
    @Schema(description = "标签id")
    private String tag_id;
    @Schema(description = "人员范围")
    private List<SelectorFormat> user_ids;
    @Schema(description = "标签管理范围类型")
    private String scope_type;
    @Schema(description = "标签管理范围(部门)")
    private List<SelectorFormat> ou_scopes;
    @Schema(description = "标签管理范围(人员)")
    private List<SelectorFormat> us_scopes;
    @Schema(description = "归属组织corpId")
    private String corp_id;
}
